<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/11/7
 * Time: 11:01
 */

namespace app\admin\model\user;


use app\common\library\Auth;
use think\Model;

class UserExpertsDescribe extends Model
{

    protected $table = 'fa_user_experts_describe';
    protected $auth;
    public function __construct($data = [])
    {
        $this->auth = Auth::instance();
        parent::__construct($data);
    }

    public function isExist(){
       return $this->where('uid',$this->auth->id)->find();
    }
}